import request from "../utils/request";

// 获取咨询过程列表
export const getConsultationList = (params) => request.get('/api/consultation/list', { params });

// 添加咨询记录
export const addConsultationRecord = (data) => request.post('/api/consultation', data);

// 更新咨询记录
export const updateConsultationRecord = (id, data) => request.put(`/api/consultation/${id}`, data);

// 删除咨询记录
export const deleteConsultationRecord = (id) => request.delete(`/api/consultation/${id}`);